home *** CD-ROM | disk | FTP | other *** search
- Submitted-by: nick@usenix.org (Nicholas M. Stoughton)
-
- USENIX Standards Report Editor
-
- Nicholas M. Stoughton <nick@usenix.org>, Report Editor
-
-
- POSIX.5: Ada Bindings
-
-
- Del Swanson <dswanson@email.sp.paramax.com> reports on the
- April 19-23, 1993 meeting in Irvine, Ca.:
-
- The POSIX.5 group has been working to produce Ada language
- bindings to POSIX standards. The Ada binding for the
- POSIX.1, POSIX.5, has now been published as an IEEE
- standard, and we are now working on bindings to the Real-
- Time Extensions standards being developed by the POSIX.4
- group.
-
- The binding to POSIX.4 Has been designated as POSIX.20.
- Draft 1 was circulated for mock ballot last December, and
- comments have been incorporated into the document.
- Registration for real ballot was open in May and June, and
- the ballot draft was to be circulated June 18, with a close
- of balloting scheduled for the end of July. We hope to have
- this approved immediately after the approval of POSIX.4.
-
- Meanwhile, work has begun concurrently on the binding to
- POSIX.4a (threads extensions). An initial draft has been
- prepared, and was debated at the January meeting.
- Significant changes to it are now expected to be put on hold
- until the ballot resolutions and the next version of
- POSIX.4a. The POSIX.5 group met with the POSIX.4 group in
- January to get an update on the status of the threads work.
-
- Orthogonal to this update, some members of the POSIX.5 group
- are becoming concerned about the relationship of the threads
- interface and the updates to the Ada standard that is
- commonly called Ada 9x. Some significant changes and
- enhancements are expected in the tasking model for Ada 9x,
- and in some respects they have adverse impact on the ability
- to implement an Ada runtime library using POSIX threads.
- These concerns are being provided to the POSIX.4 group, for
- consideration in the ballot resolution process.
-
- In April, the group was updated on the interpretation
- process for POSIX.5. A few errors have been found in the
- standard by implementers (e.g. missing parameter, missing
- function definition, error condition oversights). The only
- way to make ``substantive'' changes, even for errors, is to
- revise the standard, which means balloting, etc. The group
- decided to incorporate corrections in our binding for the
- updated POSIX.1a. We have initiated a Project Authorization
- Request (PAR) for this work.
-
- The group also composed a coordination ballot in response to
- POSIX.4a, the threads extensions. This is evidently the
- first time such a ballot has been submitted. It grows from
- the fact that the POSIX.5 group is a coordination group
- listed in the POSIX.4a PAR. The group consensus was to
- object to the proposed standard in seven areas.
-
- - Issues associated with finding the status of mutexes
- within signal handlers, and the asynch-safety of mutex
- operations.
-
- - Obtaining the effective priority of a thread which has
- had its priority changed by priority ceiling locking.
-
- - The relation of the options _POSIX_THREAD_PRIO_PROTECT
- and _POSIX_THREAD_PRIO_INHERIT. They should be
- independent of one another.
-
- - The implications of unlocking mutexes not in the reverse
- order of their locking, on the implementation of
- priority protection schemes. If the standard specified
- LIFO order as normative, implementation of priority
- changes could be very efficient.
-
- - The scheduling implications for priority changes due to
- priority inheritance. A special rule should exist in
- the standard to require that an executing thread be
- inserted at the head of the queue for the appropriate
- priority when its effective priority changes due to
- inheritance only. This is as opposed to explicit
- priority changes, for which the rules are given already
- and require the thread to go to the tail of the queue.
-
- - The relation of the clean-up routines to thread
- cancellation. There are times when it should be safe to
- do the equivalent of a longjmp from a cleanup routine.
-
- - The relation of signal masks to threads and processes.
- We think that there should be an interface to mask
- delivery of asynchronous signals for the whole process.
-
-
- Volume-Number: Volume 31, Number 75
-
-